package com.foreveross.taskservice.application.impl.statistics.hbase;

import java.io.Serializable;
import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.foreveross.taskservice.application.impl.BaseJpaApplicationImpl;
import com.foreveross.taskservice.application.statistics.hbase.StaticHistoryApplication;
import com.foreveross.taskservice.infra.ddd.domain.IBaseEntity;
import com.foreveross.taskservice.infra.entity.StaticHistoryHbaseEntity;
@Service
@Transactional
public class StaticHistoryApplicationImpl extends BaseJpaApplicationImpl implements StaticHistoryApplication{
	
	@Override
	public void save(StaticHistoryHbaseEntity entity) {
		entity.create();
	}

	@Override
	public <T extends IBaseEntity> List<T> listAll(Class<T> clazz)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public <T extends IBaseEntity> T find(Class<T> clazz, Serializable id)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

}
